﻿using BDPAutodetect.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace BDPAutodetect.Client
{
    /// <summary>
    /// StationTargetView.xaml 的交互逻辑
    /// </summary>
    public partial class StationTargetView : UserControl
    {
        /// <summary>
        /// 工位数据指标集
        /// </summary>
        public ObservableCollection<MTargetDetectDto> StationTargetDatas { get { return (ObservableCollection<MTargetDetectDto>)GetValue(StationTargetDatasProperty); } set { SetValue(StationTargetDatasProperty, value); } }
        /// <summary>
        /// 工位数据指标集属性
        /// </summary>
        public static readonly DependencyProperty StationTargetDatasProperty = DependencyProperty.Register("StationTargetDatas", typeof(ObservableCollection<MTargetDetectDto>), typeof(StationTargetView), new UIPropertyMetadata(default));

        /// <summary>
        /// 构造函数
        /// </summary>
        public StationTargetView()
        {
            InitializeComponent();
            ((FrameworkElement)this.Content).DataContext = this;
        }
    }
}
